package com.soen6441.generics;
class CorrectionV1 implements Comparable<CorrectionV1> {
    String word;
    Integer edditDistance;

    public int compareTo(CorrectionV1 other) {
        // not correct needs total ordering
        return edditDistance.compareTo(other.edditDistance);
    }
}
